filechoosernativeportal: stuff the current filter into options
authorMichael Catanzaro <mcatanzaro@igalia.com>
Wed, 16 Jan 2019 01:51:00 +0000 (19:51 -0600)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 19 Jan 2019 01:02:11 +0000 (20:02 -0500)
commitc7af14dea849455892d00635794d7b384d958940
tree9be6d07aa134c08e47220e1873fb15823a1b7742
parentf3f22b76dcf27828d8db85475f6075bc4c3d8090
filechoosernativeportal: stuff the current filter into options

We need to tell the portal what filter is supposed to be selected by
default, or it will just pick the first one, which could be wrong and
annoying.

This will require updated xdg-desktop-portal and xdg-desktop-portal-gtk
to work properly.

Fixes #1492
gtk/gtkfilechoosernativeportal.c